class Circle implements IShape {
    Point ptCenter;
    int radius;

    public Circle(Point center, int r) {
        this.ptCenter = center;
        this.radius = r;
    }

    @Override
    public double perimeter() {
        return 2 * Math.PI * radius;
    }

    @Override
    public double area() {
        return Math.PI * radius * radius;
    }

    @Override
    public void draw() {
        System.out.println("绘制一个圆，圆心坐标: (" + ptCenter.x + ", " + ptCenter.y + "), 半径: " + radius);
    }
}